function createMutableArray() {
	return Components.classes['@mozilla.org/array;1'].createInstance(Components.interfaces.nsIMutableArray);
}

function createCopyService() {
	return Components.classes["@mozilla.org/messenger/messagecopyservice;1"].createInstance(Components.interfaces.nsIMsgCopyService);
}

function getAccountManager() {
	return Components.classes["@mozilla.org/messenger/account-manager;1"].getService(Components.interfaces.nsIMsgAccountManager);
}

function getPreferenceService() {
	return Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
}

function getConsoleService() {
	return Components.classes["@mozilla.org/consoleservice;1"].getService(Components.interfaces.nsIConsoleService);
}